<?php 
namespace Admin\Model ; 
use Think\Model ; 

class CitysModel extends Model{
	
	/**
	 * 获取城市
	 * @return $p [description]
	 */				
	function getCity($p = 1 , $where = ''){

		$res = $this->where($where)->limit( ($p-1)*20 , 20 )->select();

		return $res ; 

	}
}
